package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.vo.ReservationVo;

import java.util.List;

/**
 * @author ljc
 * @version V1.0
 * @date 2025-03-05 20:00
 */
public interface MemberReservationService extends IService<Reservation> {
    /**
     *  获取取消预约数量
     * @return
     */
    Integer getCancelledReservationCount();

    /**
     *  查询每个时间段剩余预约次数
     * @param time
     * @return
     */
    List<ReservationVo> countByTime(Long time);
}
